Repository navigation
P104 banked-circuit toolkit: exact pricer, circuit certifier, word screens and hub/split builders (tooling, no κ claim) - #7727
Open
DreamingOfClouds wants to merge 2 commits into
Conversation
Reuse Clear1nsight's exact CrocSwap#7257 guide and historical-source snapshot repair, already validated by the hosted checks on CrocSwap#7644. The research package bytes are unchanged. (cherry picked from commit 694667c) (cherry picked from commit 99f33bd)
…ub/split builders (tooling, no kappa claim) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
P104 banked-circuit toolkit (tooling, no κ claim)
This PR packages the tools behind #7705 and #7712 as one reviewable package with a self-test on published data, so that anyone can price, check or extend a P104 word or banked circuit. Every number in the tests reproduces a published result.
Tools (
research/p104-banked-circuit-toolkit/tools/):pricekit.pyNO_CROSSINGwhen S ≤ 0 (never a clipped bracket). It also gives S, D0 and Dk, the slot-ledger check, the parametric caller and exact dead-register pruning.wordcheck.pybank.py,exval.py,fsolve.pynest.py,phys.py,gauss.pycertify.py--claimgate.hubbuild.pyhub2.py,split.py,splitbuild.py,search2.py,search3.py,stack.pyrelay.pyThe screens only nominate candidates. Only the exact builders and
certify.pydecide, and every coefficient is an exact Fraction.Check (
python3.12 -B scripts/research_package.py --package research/p104-banked-circuit-toolkit; standard library only, about four minutes; ends withPASS_REGISTERED_RESEARCH_PACKAGE):ae62d5d8…1472).NO_CROSSING, refusal of negative invoices, large roots.wordcheck.pypasses the Archive a cf6a-based nine-swap WORD with finite replay and a conditional invoice crossing #7700 word and catches a one-coefficient mutant and a reversed public MOVE.certify.pyre-certifies the published Conditional κ ≥ 0.0037427697512 (+0.0636% over #7708) by three causal helper splits on the cf6a banked circuit #7712 circuit: crossing 0.0037427697512569, S = 1,328, 101,488 paid jobs, with Gaussian columns. A corrupted circuit is rejected.hubbuild.pyapplies two recorded hub reroutes to Conditional κ ≥ 0.0037427697512 (+0.0636% over #7708) by three causal helper splits on the cf6a banked circuit #7712, andcertify.pyaccepts the result. This is a builder regression only. Its crossing, 0.0037430938517, is below the current frontier and is not claimed.Run
python3.12 -I -B tests/selftest.py --quickin the package for A–D in about 10 s.Note: a small stacked tweak on #7717
The same tools found a small tweak on aliromman's #7717 circuit. Two transposed hub reroutes (chart 551 to hub 278, chart 545 to hub 488; ranks 6 + 3 → 7 + 2) build exactly on #7717's published graph. On #7717's own 16-call invoice plus the paid change {2:+2, 3:−2, 6:−2, 7:+2} per native, the crossing is 0.00376346450049, which is +0.0087% over #7717's 0.00376313686061.
This is not certified the usual way.
certify.pycannot check #7717's helper-removal boundary: the graph has 1,470 public roles, against 1,504 for the cf6a word. The only output check is exact rational equality of all 1,470 outputs with #7717's own graph. The note inherits every #7717 premise and its physical and compiler bill unchanged. Its bank-cost terms are not recounted.note-7717/check.py(about 40 s) does the following:hubbuild.py, equal to the stored diff (REROUTES.json: 4 moved edges, 16 changed forms).It is kept separate from the tooling and is not part of the title.
Limits.
CI prerequisite. As in #7705 and #7712, the first commit is ToikY's cherry-picked CI repair (
Repair inherited selected-family CI replay, from Clear1nsight'se29a5ae8). It only repairs the inherited selected-family replay, and it is not part of this package.Credit.
credits/supplied the predecessor constructions.The tools, tests and the #7717 note are by DreamingOfClouds with Claude Opus 5.5 (Anthropic), via Claude Code.
🤖 Generated with Claude Code